/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ifconnect.model.dao;

import junit.framework.TestSuite;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;

/**
 *
 * @author Genemes
 */
@RunWith(Suite.class)
@Suite.SuiteClasses({ifconnect.model.dao.CampusDaoTest.class})
public class AllTestes {

    @BeforeClass
    public static void setUpClass() throws Exception {
    }

    @AfterClass
    public static void tearDownClass() throws Exception {
    }

    @Before
    public void setUp() throws Exception {
    }

    @After
    public void tearDown() throws Exception {
    }

    public static TestSuite suite(){
        TestSuite testesuite = new TestSuite("Executa todos os testes");
        testesuite.addTest(CampusDaoTest.suite());
        testesuite.addTest(CursoDaoTest.suite());
        testesuite.addTest(DisciplinaDaoTest.suite());
        testesuite.addTest(UsuarioDaoTest.suite());
        return testesuite;
    }
}
